package cn.edu.zut.curriculum.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)

public class User extends BaseEntity {
    private Long id;
    private String phone;
    private String password;
    private String email;
    private String nickname;
    private String avatar;
    private LocalDateTime createTime;
    private  int role =2;
    private  int status =1;
}
